package com.dys.controller;

import com.dys.service.GoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

/**
 * @className: com.dys.controller.GoodsController
 * @description: com.dys.controller
 * @author: pine cone
 * @version: v1.0.0
 * @createTime: 2024/10/21 22:26
 */
@Controller
public class GoodsController {

    @Autowired
    private GoodsService goodsService;

    public void buyGoods() {
        goodsService.buyGoods(1, 1);
    }
}
